package com.ruoyi.app.mapper;

import com.ruoyi.app.domain.TripInfo;
import com.ruoyi.app.domain.TripInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TripInfoMapper {
    int countByExample(TripInfoExample example);

    int deleteByExample(TripInfoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TripInfo record);

    int insertSelective(TripInfo record);

    List<TripInfo> selectByExampleWithBLOBs(TripInfoExample example);

    List<TripInfo> selectByExample(TripInfoExample example);

    TripInfo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TripInfo record, @Param("example") TripInfoExample example);

    int updateByExampleWithBLOBs(@Param("record") TripInfo record, @Param("example") TripInfoExample example);

    int updateByExample(@Param("record") TripInfo record, @Param("example") TripInfoExample example);

    int updateByPrimaryKeySelective(TripInfo record);

    int updateByPrimaryKeyWithBLOBs(TripInfo record);

    int updateByPrimaryKey(TripInfo record);

    List<TripInfo> getTripInfoList(Map<String, Object> params);

    TripInfo getTripInfo(Long id);
}